﻿using System;
using System.Collections.Generic;
using System.Text;
using Microsoft.Practices.ObjectBuilder;
using Microsoft.Practices.CompositeWeb;

namespace WCSFContrib.ECommerceCatalog.User.Views
{
    public class PageFlowErrorPresenter : Presenter<IPageFlowErrorView>
    {
        private IUserController _controller;
        
        public PageFlowErrorPresenter([CreateNew] IUserController controller)
        {
            _controller = controller;
        }

        public void OnClearErrors()
        {
            _controller.ClearErrors();
        }
    }
}




